From: | Jesper Svennevid |
Date: | 10 Aug 99 at 11:32:10 |
Subject: | RE: Re: AmiTCP SDK |
From: "Jesper Svennevid" <jesper@fxrealm.com>
> From: David Arbuthnot <Spinal.NGA@Digital.Prestel.co.uk>
>
> Hello Mike
>
> On 04-Aug-99, you wrote:
>
> > From: Mike Carter <mike.carter@bigfoot.com>
> >
> > Is the AmiTCP SDK v4 the same thing for developing apps
> > to be used with Genesis and Miami? And is this the
> > latest/last release?
> > In the archive is a directory called 'netinclude/'
> > where should this be copied? is it a seperate
> > 'include:' thing?
>
> AFAIK AmiTCP-SDK should allow you to create programs that use Genesis and
> Miami (If it's AmiTCP compatible (I don't use it)). As for your includes
> try the following (it works for me):
>
> 1. make an AmiTCP dir in one of your include dirs
> 2. copy AmiTCP-SDK-4.3/netinclude/amitcp
> AmiTCP-SDK-4.3/netinclude/arpa
> AmiTCP-SDK-4.3/netinclude/net
> AmiTCP-SDK-4.3/netinclude/netinet
> AmiTCP-SDK-4.3/netinclude/protocols
> AmiTCP-SDK-4.3/netinclude/rpc
> AmiTCP-SDK-4.3/netinclude/rpcsvc
> to the AmiTCP dir you created above.
>
> 3. copy clib,devices,fd,inline(GCC needs this you should have to use it
> unless you use GCC),libraries,proto,pragmas to the corresponding
> dir in your shared includes dir (where your amiga includes
> are kept)
>
> 4. copy the loose files (those in netinclude/ that are not in
> dirs) that
> you don't have in your compiler specific dirs (and subdirs) to
> your compiler specific dirs
>
> 5. do the sames as in step 4 with the netinclude/sys dir (you should have
> an sys/ dir in your comiler specific dir i.e storm:include/sys/)
A much smoother way would just to do something like this:
Unpack the AmiTCP-SDK to some separate place.
do a 'assign include: <where you put the SDK-includes> add' .. This wouldn't
modify the standard includes and still let you to use the new ones... You
can add a -I line if you use GCC (this can be made permanent by modifying
a setup-file in /GG/lib/gcc-lib/ somewhere, I'm just not sure which one
right now)